import base
import datetime
from web import models


def Run():
    exits = models.PricePolicy.objects.filter(category=1, title='v0').exists()
    if not exits:
        # 创建免费版本
        models.PricePolicy.objects.create(
            category=1,
            title='v0',
            price=0,
            project_num=3,
            project_member=2,
            project_space=20,
            project_size=5,
        )


if __name__ == '__main__':
    Run()
